]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ScreenShield: fix wrong signal value in ActiveChanged
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 31 Jan 2013 17:05:46 +0000 (18:05 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 31 Jan 2013 17:25:31 +0000 (18:25 +0100)
ActiveChanged should be about active, not locked.

https://bugzilla.gnome.org/show_bug.cgi?id=691964

js/ui/shellDBus.js

index cf6c1f2403948147425ee93fff517ce87f72669d..44ddf749cb764f7c0e9d493151cb7a46cd56ede9 100644 (file)
@@ -248,7 +248,7 @@ const ScreenSaverDBus = new Lang.Class({
 
         this._screenShield = screenShield;
         screenShield.connect('lock-status-changed', Lang.bind(this, function(shield) {
-            this._dbusImpl.emit_signal('ActiveChanged', GLib.Variant.new('(b)', [shield.locked]));
+            this._dbusImpl.emit_signal('ActiveChanged', GLib.Variant.new('(b)', [shield.active]));
         }));
 
         this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(ScreenSaverIface, this);